package com.fgs.common.permission;

import android.content.Context;

import androidx.fragment.app.FragmentActivity;

/**
 * @author fgs
 * @date 2020/6/12
 * @description
 **/
public interface IPermission {
    boolean checkPermissions(FragmentActivity activity, OnPermissionCheckResult onPermissionCheckResult, String... permissions);

    boolean checkPermissions(Context context, String permission, OnPermissionCheckResult onPermissionCheckResult);

    void showPermissionTipDialog(Context context, String contentTip);
}
